#ifndef _APP_HEADER_H_
#define _APP_HEADER_H_

#include "imx6ul.h"
#include "stdio.h"

enum _sys_return
{
    fail = -1,
    FAIL = fail,
    success = 0,
    SUCCESS = success,
};

typedef enum bool
{
	false = 0,
	ture = 1,
	DISABLE = false,
	ENABLE  = ture,
}BOOL;


#include "../imx6ul_basic_func/imx6ul_basic_func.h"

#include "../eason/hal/gpio/hal_gpio.h"
#include "../eason/hal/led/hal_led.h"
#include "../eason/hal/lcd/hal_lcd.h"
#include "../eason/hal/epit_timer/hal_epit_timer.h"
#include "../eason/hal/i2c/hal_i2c.h"
#include "../eason/hal/ap3216c/hal_ap3216c.h"
#include "../eason/hal/oled/hal_oled.h"


#include "../eason/hdl/gpio/hdl_gpio.h"
#include "../eason/hdl/lcd/hdl_lcd.h"
#include "../eason/hdl/led/hdl_led.h"
#include "../eason/hdl/epit_timer/hdl_epit_timer.h"
#include "../eason/hdl/i2c/hdl_i2c.h"
#include "../eason/hdl/ap3216c/hdl_ap3216c.h"
#include "../eason/hdl/oled/hdl_oled.h"


#include "../eason/main_framework/main_framework.h"


#define CHKFILE                 printf("CHKFILE: %d\t%s\r\n",__LINE__,__FILE__)
#define CHKPNT                  printf("\nCHK:func:%s Line:%d\r\n",__FUNCTION__,__LINE__)
#define DBG_MSG(fmt,arg...)     printf(""fmt"",##arg)
#define DBG_ERR(fmt,arg...)     printf("ERR:"fmt"",##arg)
#define DBG_INFO(fmt,arg...)    printf(" %s() "fmt"",__FUNCTION__,##arg)

int8_t app_init(void);

#endif
